package com.inno.subject.infra.basic.service;

import com.inno.subject.infra.basic.entity.PlannerSubjectType;

import java.util.List;

/**
 * (PlannerSubjectType)表服务接口
 *
 * @author makejava
 * @since 2024-11-16 20:57:06
 */
public interface PlannerSubjectTypeService {

    /**
     * 通过ID查询单条数据
     *
     * @param id 主键
     * @return 实例对象
     */
    PlannerSubjectType queryById(Long id);

    /**
     * 新增数据
     *
     * @param plannerSubjectType 实例对象
     * @return 实例对象
     */
    PlannerSubjectType insert(PlannerSubjectType plannerSubjectType);

    /**
     * 修改数据
     *
     * @param plannerSubjectType 实例对象
     * @return 实例对象
     */
    PlannerSubjectType update(PlannerSubjectType plannerSubjectType);

    /**
     * 通过主键删除数据
     *
     * @param id 主键
     * @return 是否成功
     */
    boolean deleteById(Long id);

    List<PlannerSubjectType> queryByIdList(List<Long> typeIdList);

    List<PlannerSubjectType> queryList();

}
